require 'rubygems'
require 'yaml'
require 'json'
require 'erb'
file = ARGV[0]
data = ERB.new(File.read(file)).result
File.open(file,'w') do |file|
  file.puts data
end

